package com.tony.demo.slidingstage;

import java.util.ArrayList;

import android.app.Activity;
import android.os.Bundle;
import android.os.Handler;
import android.util.Log;
import android.view.WindowManager;
import android.widget.PopupWindow;

import com.tony.demo.R;

public class SlidingStageActivity extends Activity {
	public static boolean c = true;
	public static boolean d = false;
	public static int _orientation;
	private static SlidingStageActivity g;
	private static ArrayList j = new ArrayList();
	private static Handler k = new Handler();
	private boolean h = false;
	private MainLayout _mainLayout;
	private PopupWindow s;

	public SlidingStageActivity() {
	}

	public void onCreate(Bundle paramBundle) {
		getWindow().setFlags(WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED,
				WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED);
		super.onCreate(paramBundle);
		_orientation = getResources().getConfiguration().orientation;

		setContentView(R.layout.activity_slidingstage_layout);

		this._mainLayout = (MainLayout) findViewById(R.id.mainLayout);
		this._mainLayout.initView();
		Log.d("onCreate", "");
		// this._mainLayout.loadFirstPanel();
	}

}
